New "Advanced" Slicer in Present Pro
Slicers are user-defined data-driven filters that let you simply and conveniently filter queries dynamically in your live presentations. For example, a slicer may be dropdown list that lets your users filter their sales visuals by country when they are viewing a slide at runtime.
When adding a slicer to your presentation, you have three options: use an existing slicer or parameter from Discover, build a new slicer on the fly within Present using the Quick Slicer option in the Toolbox, or build a new slicer on the fly within Present using the Advanced Slicer wizard. This topic describes how to use the Advanced Slicer wizard to create a new slicer for your presentation.
The Advanced Slicer wizard allows you to manually configure all slicer settings, giving you a lot of control over the slicer's behavior. You should use this option if you want to make use of settings to select specific elements, change the initial state of the dropdown list (default selection, disable, and so on), or otherwise want to configure the slicer in the first instance.
Tip: If you want to add a very basic slicer, you can add the slicer using the Quick Slicer option in the Toolbox. This adds a dropdown list where the slices match the dimensions in the selected hierarchy exactly. If you create a slicer using this basic option, you can still set its advanced settings later (to limit the elements, to change its type, or to otherwise configure its content) in the Slicer Settings panel.
Open the New Slicer panel
To add a new slicer to the presentation, open the Advanced Slicer wizard:
- Select the Advanced Slicer option from the Present or Slide ribbons (green highlight below):
- Click Add New Slicer in the Interaction Manager:
- Click New (green arrow) in the Slicers panel:
The following describes the options in the Advanced Slicer wizard. You need to make your configurations and click Apply to create your slicer.
Tip: If you have an existing slicer and you want to configure its details in the Slicer Settings panel, see Slicer Settings in Present Pro.
New Slicer panel
Data Source
Start by selecting the Data Source tab from the first column; this will prompt you to select a model, hierarchy, and elements:
Note: The other tabs (Type, Load Time, and so on) are disabled until you have selected your data source and slicer hierarchy.
Choose Model
From the Choose Model panel, select the data model that contains the hierarchy you intend to use for your new slicer.
Select Hierarchy
This panel displays the dimensions and hierarchies of the selected data model; choose the hierarchy that will be used to build the slicer.
Elements
Choose the hierarchy elements that will be included in the slicer. There are three ways to determine the slicer's elements:
- Free Selection: Select the elements that you want to include on the slicer. You can select individual elements or all elements from the hierarchy using the checkboxes at the top of the panel, or you can navigate to and select a formulation from the tree to include its items. When individual elements and formulations are selected together, they are combined into a single list. Where the same item appears in both lists, the element only appears once in the final selection.
- Level: This option is relevant when working with OLAP or Tabular hierarchies, or regular SQL hierarchies. When creating a slicer based on a regular hierarchy, select this option to specify a particular level of the given hierarchy.
- Lists: Choose this option to use a custom list as the slicer.
Type
Auto Title
Select the Auto Title checkbox to disable the Title field and use the default name of the item as the title for your slicer:
- If the slicer is based on a hierarchy, this is the hierarchy name.
- If the slicer is based on a parameter, it is the parameter name as it appears in Content Manager.
Clear the Auto Title checkbox to enable the Title field, where you can type your own custom title for the slicer.
A new slicer's title defaults to the name of its underlying hierarchy or parameter. You can override this value manually or enable Auto Title in the Slicer Settings to keep the slicer's title automatically in sync with changes to the hierarchy or parameter name. This example shows how the name of a slicer appears throughout its lifecycle.
Adding the Parameter to the canvas (through its Formula) creates a slicer with a name that matches the parameter name:
If I change the value in the Slicer Settings Title field, the slicer name is overwritten with a custom name; in this case Gross Values:
If, instead of typing a new title, I selected the Auto Title checkbox in the Slicer Settings, the slicer title would be returned to its initial parameter name. However, now, if I were to rename the parameter, the slicer would be automatically updated to reflect the parameter's new name:
Tip: For more information about creating and using Binary parameters, as seen in this example, see Binary Parameters in Formulate.
Type
The slicer type that you select here indicates whether the slicer you use to filter your presentation assets at runtime is a dropdown list, set of buttons, a tree, or even a date-time calendar.
Select from the following slicer types:
- Drop Down: Adds a dropdown list that you can select one slice from.
- Multi Select Drop Down: Adds a dropdown list that you can select multiple slices from.
- Single Select Tree: Supports 'regular' hierarchies in both cube and SQL models. Adds a single-select tree, which you can navigate through to find the relevant element.
- Multi Select Tree: Supports 'regular' hierarchies in both cube and SQL models. Adds a multi-select tree, which you can navigate through to find and select relevant elements.
- List Box: Adds a single-select list within a box container.
- Multi Select List Box: Adds a multi-select list within a box container.
- Text Box: Adds a textbox with dropdown.
- Buttons: Adds single-select buttons, rather than a list.
- Multi Select Buttons: Adds multi-select buttons.
- Date Calendar: This calendar tool is a specialized slicer visualization designed to make it easier to use date-time hierarchies and their associated calculations. The date-time picker is automatically generated at runtime when using the dateKey hierarchy to create a slicer. As with other slicers, the date-time picker slicer can be customized from the slicer settings.
Date-Time Pickers are only supported for SQL models. This functionality is not currently supported for MS OLAP, Tabular, or SAP BW.
A Toggle is a special slicer visualization type that is only applicable to global binary parameters.
The following example shows a dropdown list (blue arrow below) and a set of single-select buttons (orange arrow) as they might appear in a presentation when viewed at runtime:
Columns
(Buttons only.) If your slicer type incorporates buttons, select the number of columns of buttons that should be added to the canvas.
Data Source details
The read-only data source metadata, including the data source, database, data model, and the hierarchy used in the filter.
Note: You will only see this panel if you are editing your slicer settings. If you are creating a new Advanced Slicer, the data source information is shown on the Data Sources panel.
Load Time
The load time settings determine which of the slicer's elements will be automatically loaded when the report is opened:
Initial Selection Mechanism
The initial selection mechanism determines which slice will be automatically loaded when the user opens the report.
- Saved Selection by Name: Select the initial slicer selection by name; this slicer will be selected by default whenever the report is opened.
- Saved Selection by Position: Select the initial slicer selection by position; this slicer will be selected by default whenever the report is opened. This is useful if the slicer is based on a custom calculation that shows, for example, the top ten products. You might want to automatically load the top selling product. In this case, the slicer position needs to be saved.
- First Member: Automatically select the first member in the slicer whenever the report is opened.
- Last Member: Automatically select the last member in the slicer whenever the report is opened.
Subsequent Selection Options
Subsequent selection options determine whether or not the user's slicer selection will be saved. If so, these selections will override the given 'initial selection mechanism'.
Remember user's last selection
Enable this option to save the current user's saved slicer selection. Each time the user saves the report, the currently selected slice will be saved, and that slice will automatically be loaded when the report is next opened by that user.
If this option is not enabled, the given 'initial selection mechanism' will be loaded every time the user opens the report.
Reset Selection on Cascade
Select this option if the selected slicer is being cascaded to. For instance, if you've configured a cascading slicer that cascades from Country down to State, check this option for the State slicer to apply the given slice value modes to State.
In this scenario, if Last Member is set as the load mode, then the last member in the state slicer will automatically be selected whenever a country is selected from the parent slicer. Then, when United States is selected from the country slicer, Wyoming will automatically be selected form the state slicer; when Australia is selected, Victoria will automatically be selected from the state slicer.
Pre-query slicer
Pre-query slicers can be used to set the slicer selections for specified slicers and parameters upon opening the presentation at runtime, before the query is loaded.
Enable
Select the Enable checkbox to indicate that the query should not be run until the user specifies their slicer selections. The effect of this selection is that the Pre-Query slicer dialog opens and the user is prompted to select either bookmarks or individual selections for their discovery, publication, or tabulation slicers in the Pre-Query slicer dialog.
Note: The Pre-Query slicer dialog opens automatically when you open the discovery, presentation, or tabulation in its app, the discovery in the Viewer, or the presentation at runtime. If you view the discovery or presentation in the Hub or as an Embedded visual, you will need to click the Make Pre-Selections option to open the Pre-Query slicer dialog.
Apply default load mode
Use the Apply default load mode checkbox to indicate which options should be selected in the Pre-Query slicer dialog by default:
- Select the checkbox to use the default slicer selection.
- Clear the checkbox to use the last selected slicer in the Pre-Query slicer dialog.
- Click here for more information about Pre-Query Slicers
Other Settings
From the Other Settings tab, you can update the slicer elements limit for this slicer, disable and enable the filter button, specify whether you want to apply a change to a slicer automatically whenever its value is changed, and, for models that include translations, specify the language for the slicer:
Slicer Elements Limit
Set the maximum number of slicer elements to include in the slicer. The limit set here cannot exceed the limit set from the user defaults. Where the limit is exceeded, the number of elements in the slicer is limited and a limit indicator is displayed in the slicer header at runtime.
If the number of elements in the slicer hierarchy exceeds the elements limit, a Limit Indicator is displayed alongside the slicer's header (green arrow below) and the list is truncated:
All items remain accessible using search. For example, a truncated alphabetical product list may end before "W" in the dropdown list, but items starting with "Wom" can still be found using the search field (see above).
Tip: You can hover your cursor over the indicator to see what the slicer elements limit currently is:
- Click here for more information about Slicer Limits
Disabling
The disabling options relate to the filter associated with the slicer. By default, the filter is enabled and can be used to enable and disable the slicer. The following image shows a Product slicer in its default state at runtime; the filter is highlighted using a green arrow:
- Select the Hide disable button checkbox to hide the filter entirely. The filter is not shown on the presentation and, therefore, cannot be used to enable and disable the slicer.
- Select the Disable checkbox to make this filter disabled (rather than enabled) by default. Note: This option only changes the default state of the filter, the user can still enable the filter at runtime if they want to.
If you select the Hide disable button checkbox, your slicer appears as follows at runtime:
If you select the Disable checkbox, your slicer appears as follows at runtime (note the orange arrow):
Auto Run
Controls the auto run behavior associated with this slicer. Clear the Auto Run checkbox to indicate that you do not want to apply new selections made from the slicer immediately. The purpose of this option is to allow users to only apply the filtering associated with their slicers once they are ready, perhaps once they have made all their intended slicer selections.
Enable or disable Auto Run for this slicer:
- When enabled, the filter applies automatically as soon as a new slice is selected. This is the default behavior.
- When disabled, the filter does not apply automatically (the query will not be run) when a new slice is selected; instead, a lightning bolt icon indicates that the slicer change needs to be applied manually.
- Click here for more information about Auto Running Slicers
Where Auto Run has been disabled for a slicer in Slicer Settings, selecting a different slice or enabling / disabling the slicer at runtime does not prompt any change to the visuals or dynamic assets. As you can see in the following example, disabling the Country slicer (green arrow) does not cause the filter to be cleared from our Sales by Promotion Category visual, which continues to be filtered by "United Kingdom" (purple arrow) despite our change:
The lightning bolt icons indicate that a change has been made but not yet applied:
- Where it appears on the Hamburger Menu or Button, it indicates that one or more slicers have been updated but have not yet been run. Whether or not to show the lightning bolt icon on the button is subject to configuration.
- Where it appears on a slicer itself, it indicates that specific slicer has not yet been run.
You can manually run the slicers by clicking Run Slicers in the Present runtime menu or on the right-click context menu, or by clicking any "button" that has been created with a Run Slicer Jump Action.
Running the slicer applies the expected filters to the visuals and removes the lightning bolt icons:
Language
For models that include translations, the Language dropdown list can be used to choose the language for the slicer. You can allow the language to differ for different users (by application language) or you can enforce a particular "fixed" language:
- Application Language: Use the language of the Pyramid application for the current user (falls back to default if the language is unavailable).
- Model Default Language: Use the model's default language as defined in the data source.
- Fixed: Use a specific language that is explicitly supported by the model.
Fixed Language
If you select to use a Fixed language, you can select from the languages on the model using the second dropdown list.
Search Type
Set the search type. This is applied to any slicer type that supports search (dropdown list and text box).
What next?
Check or add Interactions
When you add slicers to a presentation you may need to apply interactions from slicers to visuals, from slicers to slicers, or from slicers to dynamic assets, to create the runtime interactions that allow your viewers to explore their data. Interactions are typically added automatically (the Auto Interact function is typically enabled), but you may need to add interactions manually using the Interaction Picker or the Interaction Manager. You are advised to use Show Interactions to check that your interactions are as expected.
- Click here to learn more about interactions